// console.log('开始自动导入'); 
let files = require.context('./modules',false,/\.js/)
let api = {}
files.keys().forEach(filename => {
    Object.keys(files(filename)).forEach(apiname=>{
        api[apiname]=files(filename)[apiname]
    })
});
console.log('api',api);
export default api